home *** CD-ROM | disk | FTP | other *** search
/ Just Call Me Internet / Just Call Me Internet.iso / prog / mint / netlib / include / config.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-12-27  |  1.5 KB  |  74 lines

  1. /*
  2.  *    Global configuration file for MiNT-Net.
  3.  *
  4.  *    10/26/93, kay roemer
  5.  */
  6.  
  7. #ifndef _CONFIG_H
  8. #define _CONFIG_H
  9.  
  10. /*
  11.  * PART 1: common stuff
  12.  */
  13.  
  14. /*
  15.  * use the new way for Fselect()
  16.  */
  17. #define NEW_SELECT
  18.  
  19. /*
  20.  * define this to turn off debug infos, producing a smaller binary (~20k)
  21.  */
  22. #undef NDEBUG
  23.  
  24. /*
  25.  * Define this to nothing if you don't like to see an eshaustive TCP
  26.  * trace.
  27.  */
  28. #define KAYDEBUG(a)    DEBUG(a)
  29.  
  30. /*
  31.  * PART 2: AF_UNIX specific stuff
  32.  */
  33.  
  34. /*
  35.  * Use unix file name lookup cache. This speeds up on filesystems where
  36.  * Fxattr() works for XATTR.index :-) and slows down on filesystems where
  37.  * Fxattr() doesn't work for XATTR.index :-(.
  38.  * That means:
  39.  * - undefine if your unix sockets reside on TosFs
  40.  * - define if your unix sockets reside on MinixFs
  41.  */
  42. #define USE_UN_LOOKUP_CACHE
  43.  
  44. /*
  45.  * PART 3: AF_INET specific stuff
  46.  */
  47.  
  48. /*
  49.  * Define this if TCP should use delayed acks to combine many ack segments
  50.  * and window updates in fewer segments.
  51.  */
  52. #define USE_DELAYED_ACKS
  53.  
  54. /*
  55.  * Define this if TCP should use `Nagle' algorithm to combine
  56.  * many small segments into few larger ones.
  57.  */
  58. #define USE_NAGLE
  59.  
  60. /*
  61.  * Defines this if TCP should detect duplicate acks and use them
  62.  * to speed up retransmissions of lost segments.
  63.  */
  64. #define USE_DUPLICATE_ACKS
  65.  
  66. /*
  67.  * Define this if TCP should detect whether segments were dropped
  68.  * (and clear backoff in this case) or rtt was too small (and keep
  69.  * backoff in this case).
  70.  */
  71. #define USE_DROPPED_SEGMENT_DETECTION
  72.  
  73. #endif /* _CONFIG_H */
  74.